﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DatPhong.ascx.cs" Inherits="Webmau.Controls.DatPhong" %>
<style type="text/css">


    .DangNhap
    {
        border-bottom: dashed 1px #ccc;
        border-right:dashed 1px #ccc;
        border-top:dashed 1px #ccc;
        border-left:dashed 1px #ccc;
    }
    .Top
    {
        padding-top:10px;	
    }
    .style1
    {
        height: 35px;
    }
    .style2
    {
        padding-top: 10px;
        height: 35px;
    }
</style>
<table class="DangNhap">

<tr>
    <td class="Top">
        Email:
    </td>
    <td>
        <asp:TextBox ID="txtEmail" runat="server"  Width="183px"></asp:TextBox>
&nbsp;<asp:DropDownList ID="drMail" runat="server">
        </asp:DropDownList>
            </td>
 <td>
     <asp:RequiredFieldValidator ID="rqTenDangNhap" runat="server" 
         ErrorMessage="*" ControlToValidate="drMail"></asp:RequiredFieldValidator>
            </td>
</tr>
<tr>
    <td>
        Số điện thoại</td>
    <td class="Top">
        <asp:TextBox ID="txtSoDT" runat="server" Width="184px"></asp:TextBox>
    </td>
    <td>
        <asp:RequiredFieldValidator ID="rqMatKhau" runat="server" 
            ErrorMessage="*" ControlToValidate="txtSoDT"></asp:RequiredFieldValidator>
            </td>
</tr>
<tr>
    <td class="style1">
        Địa chỉ</td>
    <td class="style2">
        <asp:TextBox ID="txtDiaChi" runat="server" Width="406px" TextMode="MultiLine" 
            Height="127px"></asp:TextBox>
    </td>
     <td class="style1">
        <asp:RequiredFieldValidator ID="rqMatKhau0" runat="server" 
            ErrorMessage="*" ControlToValidate="txtDiaChi"></asp:RequiredFieldValidator>
            </td>
</tr>
<tr>
    <td>
        </td>
    <td class="Top">
        <asp:Button ID="btnDangki" runat="server" Text="Đặt phòng" 
            onclick="btnDangki_Click" />
        <asp:Label ID="lbThongBao" runat="server"></asp:Label>
    </td>
     <td>
         &nbsp;</td>
</tr>

        
</table>
    
    <br />
    <asp:HyperLink ID="hplChiTiet" runat="server" 
        NavigateUrl="~/ChiTietPhongDaDat.aspx">Chi tiết các phòng mà bạn đã đặt</asp:HyperLink>

    
